package com.example.swimmingpool.entity.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.swimmingpool.entity.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user")
public class User extends BaseModel {

    @TableField(value = "user_name")
    private String username;
    private String password;

    private String name;

    private String avatar;

    private Integer sex;

    private String phone;


}
